﻿using System;
using System.Collections.Generic;
using System.Text;
using static xiaodingmarket_Domain.Models.EunmType;

namespace xiaodingmarket_Domain.Commands
{
    public class ReviewCommodityCommand : CommodityCommand
    {
        public ReviewCommodityCommand() { }
        public ReviewCommodityCommand(Guid id,Commoditystate state, Guid modifyId)
        {
            Id = id;//商品id
            State = state;
            ModifyId = modifyId;
        }

        /// <summary>
        /// 商品状态
        /// </summary>
        public Commoditystate State { get; set; }
        /// <summary>
        /// 修改人id(用来存放最终审核人信息（因为举报功能可能会有多次审核）)
        /// </summary>
        public Guid ModifyId { get; set; }

        public override bool IsValid()
        {
            return true;
        }
    }
}
